<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class DateValue</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class DateValue</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">A <a href="../phpContentRepository/DateValue.html">DateValue</a> provides an implementation of the <a href="../phpContentRepository/Value.html">Value</a> interface  representing a date value.</p>
	<ul class="tags">
				<li><span class="field">copyright:</span> Copyright &amp;copy; 2004-2005, Domain51</li>
				<li><span class="field">author:</span> PHP - Travis Swicegood &lt;<a href="mailto:travis@domain51.net">travis@domain51.net</a>&gt;</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_DateValue_class_php.html">/DateValue.class.php</a> (line <span class="field">36</span>)
		</p>
		
				
		<pre><a href="../phpContentRepository/BaseValue.html">BaseValue</a>
   |
   --DateValue</pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
												<a href="#sec-vars">Vars</a>
				 
				|
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#TYPE" title="details" class="const-name">TYPE</a> = 					<span class="var-type"> PropertyType::DATE</span>

				</div>
							</div>
		</div>
	</div>


	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
															<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
								
				<div class="method-definition">
											<span class="method-result">DateValue</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$date</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#equals" title="details" class="method-name">equals</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$obj</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getBoolean" title="details" class="method-name">getBoolean</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getDate" title="details" class="method-name">getDate</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getInt" title="details" class="method-name">getInt</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">object
 A</span>
										<a href="#valueOf" title="details" class="method-name">valueOf</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$s</span>)
									</div>
							</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../phpContentRepository/BaseValue.html">BaseValue</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../phpContentRepository/BaseValue.html#var$data">BaseValue::$data</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../phpContentRepository/BaseValue.html#var$stream">BaseValue::$stream</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../phpContentRepository/BaseValue.html#var$type">BaseValue::$type</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
																			<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">57</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructs a <a href="../phpContentRepository/DateValue.html">DateValue</a> object representing a date.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">throws:</span> <a href="../phpContentRepository/Exceptions/ValueFormatException.html">ValueFormatException</a>    If the $date is not a valid ISO8601-compliant date/time    string.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">DateValue</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$date</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$date</span><span class="var-description">: The date this <a href="../phpContentRepository/DateValue.html">DateValue</a> should represent</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../phpContentRepository/BaseValue.html#method__construct">BaseValue::__construct()</a></dt>
						<dd>Package-private default constructor.</dd>
					</dl>
		
	</div>
<a name="methodequals" id="equals"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">equals</span> (line <span class="line-number">113</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Indicates whether some other object is &quot;equal to&quot; this one.</p>
<p class="description"><p>The result is TRUE if and only if the argument is not  NULL and is a <a href="../phpContentRepository/DateValue.html">DateValue</a> object that represents the  same value as this object.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			equals
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$obj</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$obj</span><span class="var-description">: The the value with which to compare.</span>			</li>
				</ul>
		
		
	</div>
<a name="methodgetBoolean" id="getBoolean"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getBoolean</span> (line <span class="line-number">175</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">see:</span> <a href="../phpContentRepository/Value.html#methodgetBoolean">Value::getBoolean()</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getBoolean
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../phpContentRepository/BaseValue.html#methodgetBoolean">BaseValue::getBoolean()</a></dt>
					</dl>
		
	</div>
<a name="methodgetDate" id="getDate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getDate</span> (line <span class="line-number">137</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">see:</span> <a href="../phpContentRepository/Value.html#methodgetDate">Value::getDate()</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getDate
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../phpContentRepository/BaseValue.html#methodgetDate">BaseValue::getDate()</a></dt>
					</dl>
		
	</div>
<a name="methodgetInt" id="getInt"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getInt</span> (line <span class="line-number">153</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">see:</span> <a href="../phpContentRepository/Value.html#methodgetLong">Value::getLong()</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getInt
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../phpContentRepository/BaseValue.html#methodgetInt">BaseValue::getInt()</a></dt>
					</dl>
		
	</div>
<a name="methodvalueOf" id="valueOf"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">valueOf</span> (line <span class="line-number">96</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a new <a href="../phpContentRepository/DateValue.html">DateValue</a> initialized to the value represented by  the $s.</p>
<p class="description"><p>The specified $s must be a ISO8601-compliant date/time  string.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> newly constructed <a href="../phpContentRepository/DateValue.html">DateValue</a> representing the the specified    value.</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">static:</span> </li>
				<li><span class="field">throws:</span> <a href="../phpContentRepository/Exceptions/ValueFormatException.html">ValueFormatException</a>    If the $s is not a valid ISO8601-compliant date/time    string.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">object
 A</span>
		<span class="method-name">
			valueOf
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$s</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$s</span><span class="var-description">: The string to be parsed.</span>			</li>
				</ul>
		
		
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../phpContentRepository/BaseValue.html">BaseValue</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#method__construct">BaseValue::__construct()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodgetBoolean">BaseValue::getBoolean()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodgetData">BaseValue::getData()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodgetDate">BaseValue::getDate()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodgetDouble">BaseValue::getDouble()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodgetFloat">BaseValue::getFloat()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodgetInt">BaseValue::getInt()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodgetLong">BaseValue::getLong()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodgetStream">BaseValue::getStream()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodgetString">BaseValue::getString()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodgetType">BaseValue::getType()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodsetStreamConsumed">BaseValue::setStreamConsumed()</a></span><br>
													<span class="method-name"><a href="../phpContentRepository/BaseValue.html#methodsetValueConsumed">BaseValue::setValueConsumed()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-vars">Vars</a>
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constTYPE" id="TYPE"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">TYPE</span>
			 = <span class="const-default"> PropertyType::DATE</span>
			(line <span class="line-number">44</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Defines the PropertType of this class.</p>
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../phpContentRepository/PropertyType.html#constDATE">PropertyType::DATE</a></li>
			</ul>
	
	
</div>
							<h4>Inherited Constants</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../phpContentRepository/BaseValue.html">BaseValue</a></span></p>
					<blockquote>
											</blockquote> 
										
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Fri, 31 Dec 2004 10:15:09 -0600 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</div></body>
</html>